package com.peas.platform.module.icims.budget.ysy.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.budget.ysy.adapter.repository.BudgetYsyLoginRepository;
import com.peas.platform.module.icims.budget.ysy.adapter.repository.po.BudgetYsyLoginPo;
import com.peas.platform.module.icims.budget.ysy.domain.BudgetYsyLoginDomain;
import com.peas.platform.module.icims.budget.ysy.dto.BudgetYsyLoginDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class BudgetYsyLoginDomainImpl extends BaseDomainImpl<BudgetYsyLoginDto, BudgetYsyLoginPo> implements BudgetYsyLoginDomain {

    @Resource
    private BudgetYsyLoginRepository budgetYsyLoginRepository;

    @Override
    public BaseRepository<BudgetYsyLoginPo> getMapper() {
        return budgetYsyLoginRepository;
    }

    @Override
    public Class<? extends BaseRepository<BudgetYsyLoginPo>> getRepositoryClass() {
        return BudgetYsyLoginRepository.class;
    }

}
